import { createApp } from 'vue'
import App from './App.vue'
import './registerServiceWorker'
import router from './router'
import store from './store'
import 'vant/lib/index.css'

import {List,PullRefresh, RadioGroup,Radio,Grid,GridItem,Popup,Area,AddressList,AddressEdit,Icon,Checkbox,CheckboxGroup,SwipeCell,Stepper,SubmitBar,Form,Field,CellGroup,Image as VanImage,Tag,Button, Swipe,SwipeItem,Lazyload,Badge,Sidebar,SidebarItem,Collapse,CollapseItem,Tab,Tabs,Card } from 'vant'
createApp(App)
.use(Swipe).use(SwipeItem).use(Lazyload,{
    loading:require('./assets/images/default.png')
}).use(Badge).use(Sidebar).use(SidebarItem).use(Collapse).use(CollapseItem).
use(Tab).use(Tabs).use(Card).use(VanImage).use(Tag).use(Button).use(Form)
.use(Field).use(CellGroup)
.use(Checkbox).use(CheckboxGroup).use(SwipeCell).use(Stepper)
.use(SubmitBar).use(Icon).use(AddressEdit).use(AddressList)
.use( Area)
.use(Popup).use(Radio).use(RadioGroup).use(Grid).use(GridItem)
.use(List).use(PullRefresh)
.use(store).use(router).mount('#app')

// group:群 swipe:滑动 cell：单元格 stepper:步进机 submit:提交 bar:条 use:使用 area:地区 pop-up:單出
// grid-item:網格項 grid:網格 radio:無綫電 Refresh:刷新 pull:拉